﻿@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>查看投票</h2>

@model List<KMSFanHome2.Models.ModelListComplex>

<ul>
   
    @foreach (var i in Model)
    { 
        <h2> 投票名称： @i.voteName</h2>
    <li> @*投票名称：@i.TypeName 投票项 @i.selectname*@

        
      @if (i.voteDetail != null)
      { 
         for (var j = 0; j < i.voteDetail.Count; j++)
        {
        @i.voteDetail[j]

        }
      
      
      }


    </li>
        
        
    
    }


    </ul>
